define(function(require, exports, module) {
    var color=require('./color/index');
    var text=require('./text');
    var template=require('./template');
    var obj=require('./obj');
    var factory=require('./factory');
    debugger;

    // 异步加载一个模块，在加载完成时，执行回调
    require.async('./color/index', function(color) {
        debugger;
    });

    // 异步加载多个模块，在加载完成时，执行回调
    require.async(['./text', './obj'], function(text, obj) {
        debugger;
    });

    // 异步加载一个模块，在加载完成时，执行回调
    require.async('./factory2', function(factory) {
        debugger;
    });

    var path = require.resolve('./color/index');
    var uri = module.uri;
    debugger;
  });